package com.demo.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author chenyuan
 * @date 2020/12/2 12:48
 */
@SpringBootApplication
/** 该注解用于向 使用 Consul 或 Zookeeper 作为注册中心时注册服务 */
@EnableDiscoveryClient
public class ZookeeperMain8004 {
	public static void main(String[] args) {
		SpringApplication.run(ZookeeperMain8004.class, args);
	}
}
